home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
001-100
/
001-025
/
010
/
trek73
/
src
/
makefile
< prev
next >
Wrap
Makefile
|
1995-03-17
|
2KB
|
86 lines
#
# makefile for trek73
#
CC = cc
CFLAGS = -O
OBJ1 = cmds1.o cmds2.o cmds3.o cmds4.o dist.o endgame.o enemycom.o
OBJ2 = firing.o globals.o main.o misc.o mission.o moveships.o
OBJ3 = parsit.o parseopts.o strat1.o subs.o
OBJS = $(OBJ1) $(OBJ2) $(OBJ3)
CFILES1 = cmds1.c cmds2.c cmds3.c cmds4.c dist.c endgame.c enemycom.c
CFILES2 = firing.c globals.c main.c misc.c mission.c moveships.c
CFILES3 = parsit.c parseopts.c strat1.c subs.c
CFILES = $(CFILES1) $(CFILES2) $(CFILES3)
HEADS =
#LIBS = -lm
all : trek73
trek73 : $(OBJS)
$(CC) -o trek73 $(OBJS) $(LIBS)
cmds1.o : cmds1.c structs.h defines.h
$(CC) -c $(CFLAGS) cmds1.c
cmds2.o : cmds2.c structs.h defines.h
$(CC) -c $(CFLAGS) cmds2.c
cmds3.o : cmds3.c structs.h defines.h
$(CC) -c $(CFLAGS) cmds3.c
cmds4.o : cmds4.c structs.h defines.h
$(CC) -c $(CFLAGS) cmds4.c
dist.o : dist.c structs.h defines.h
$(CC) -c $(CFLAGS) dist.c
endgame.o : endgame.c structs.h defines.h
$(CC) -c $(CFLAGS) endgame.c
enemycom.o : enemycom.c structs.h defines.h
$(CC) -c $(CFLAGS) enemycom.c
firing.o : firing.c structs.h defines.h
$(CC) -c $(CFLAGS) firing.c
globals.o : globals.c structs.h defines.h
$(CC) -c $(CFLAGS) globals.c
main.o : main.c structs.h defines.h
$(CC) -c $(CFLAGS) main.c
misc.o : misc.c structs.h defines.h
$(CC) -c $(CFLAGS) misc.c
mission.o : mission.c structs.h defines.h
$(CC) -c $(CFLAGS) mission.c
moveships.o : moveships.c structs.h defines.h
$(CC) -c $(CFLAGS) moveships.c
parsit.o : parsit.c
$(CC) -c $(CFLAGS) parsit.c
parseopts.o : parseopts.c structs.h defines.h
$(CC) -c $(CFLAGS) parseopts.c
strat1.o : strat1.c structs.h defines.h
$(CC) -c $(CFLAGS) strat1.c
subs.o : subs.c structs.h defines.h
$(CC) -c $(CFLAGS) subs.c
tags : $(CFILES)
ctags $(CFILES) $(HEADS)
lint :
lint -za $(CFILES) > lint.out
clean :
rm -f $(OBJS) trek73 make.out errs core lint.out a.out